#include <iostream>
#include <iterator>
#include <array>

using namespace std;

int main()
{
	array<int, 10> a1;
	array<int, 10>::iterator it;
	int i;

	for (i = 0; i < a1.size(); i++) {
		a1[i] = i + 1;
	}

	for (it = a1.begin(); it != a1.end(); it++) {
		*it += 100;
	}

	for (it = a1.begin(); it != a1.end(); it++) {
		cout << *it << " ";
	}
	cout << endl;

	return 0;
}

